PROTOC_VERSION=28.3
GOGOPROTO_VERSION=1.3.2

.PHONY: all

all:
	TRACE=1 example/conv.sh

parser:
	docker run --rm -u $(id -u ${USER}):$(id -g ${USER}) -v `pwd`:/work antlr/antlr4 -Dlanguage=Go kds.g4 -o parser
	
kdsc:
	GOBIN=$(shell pwd)/local/bin go install kds

protoc:
	script/protoc.sh
	script/protoc-gen-go.sh

types1:
	TRACE=1 types/conv.sh